package com.mt.fpb.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mt.fpb.model.InsurancePolicy;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface InsurancePolicyMapper extends BaseMapper<InsurancePolicy> {

    void  updateState(String insuranceId);

   List<InsurancePolicy> select(@Param("cardId") String cardId, @Param("userName")String userName, @Param("phone")String phone);
}
